import { axios } from '@/utils/request'

export function purchaseRejectedinfoPageList(query) {  //采购退货列表
    return axios({
        url: '/yjsh/rejectedinfo/purchaseRejectedinfoPageList',
        method: 'get',
        params: query
    })
}

export function puechaseOperatorList(query) {  //根据供应商id获取创单人下拉列表
    return axios({
        url: '/yjsh/rejectedinfo/puechaseOperatorList',
        method: 'post',
        params: query
    })
}

export function putObj(id) {
    return axios({
        url: '/yjsh/rejectedinfo/notifyPlatformSupplyConfirm/' + id,
        method: 'put',
    })
}


export function puchaseRefundOutStockDetail(query) {  //总仓退货详情
    return axios({
        url: '/yjsh/outstock/puchaseRefundOutStockDetail',
        method: 'get',
        params: query
    })
}

export function notifyPlatformSupplyConfirm(id) {  //总仓退货详情
    return axios({
        url: '/yjsh/rejectedinfo/notifyPlatformSupplyConfirm/' + id,
        method: 'get',
    })
}



